{extend name="base" /}
{block name="title"}<title>王者荣耀攻略_王者荣耀攻略技巧_攻略大全-51王者快报</title>{/block}
{block name="style"}
<link rel="stylesheet" href="__CSS__/index.css">
{/block}
{block name="body"}
<div class="app">
    <!-- cover1 -->
    <div class="cover1">
        <div class="c_content1">
            <div class="c_del1"></div>
            <div class="c_cont1_main">
                <img class="c_con1_title" src="__IMG__/con1_title.png"/>
                <div class="c_con1_box">
                    <img class="c_con_b_pic" src="__IMG__/gzh_code.jpg"/>
                    <div class="c_con_b_font">
                        <div class="c_con_b_f_title">王者荣耀</div>
                        <div class="c_con_b_f_title2">微信搜索公众号：</div>
                        <div class="c_con_b_f_title3">heromoba</div>
                        <div class="c_con_b_f_title4">
                            <img src="__IMG__/circle_arrow.png"/>
                            <span>扫描立刻关注</span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- cover2 -->
    <div class="cover2">
        <div class="c_content2">
            <div class="c_del2"></div>
            <div class="c_cont2_main">
                <img class="c_con2_title" src="__IMG__/con2_title.png"/>
                <div class="c_con2_tab">
                    <div class="c_con_t_t1">
                        <ul class="phonetab">
                            <li class="con_tab_active">Android</li>
                            <li>ios</li>
                        </ul>
                        <input class="c_con_input1" value="" type="text" placeholder="请输入您的手机号"/>
                        <div class="con2_yan">
                            <input class="c_con_input2" value="" type="text" placeholder="请输入您的验证码"/>
                            <input class="c_con_input3" type="submit" value="获取验证码"/>
                        </div>
                    </div>
                </div>
                <img class="con2_btn" src="__IMG__/con2_btn.png"/>
                <div class="con2_list">
                    <ul>
                        <li><img src="__IMG__/conlist1.png"/><br>铭文寻宝卷</li>
                        <li><img src="__IMG__/conlist2.png"/><br>御灵水晶</li>
                        <li><img src="__IMG__/conlist3.png"/><br>银鼠坐骑</li>
                        <li><img src="__IMG__/conlist4.png"/><br>高级美酒</li>
                        <li><img src="__IMG__/conlist5.png"/><br>御灵水晶</li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <!-- cover3 -->
    <div class="cover3">
        <div class="c_content3">
            <div class="c_del3"></div>
            <img class="c_con3_title" src="__IMG__/con3_title.png">
            <div class="c_con3_font1">
                恭喜您预约成功，测试开始后我们将第一时间通过短信通<br/>知您，并发送预约礼包兑换码，敬请期待!
            </div>
            <div class="c_con3_font2">
                <span>关注微信公众号获取更多礼包信息:</span>
                <img src="__IMG__/gzh_code.jpg"/>
            </div>
        </div>
    </div>
    <!-- 客服 -->
    <div class="right_box">
        <div class="right_btn">
            <div class="right_font">展开</div>
            <div class="left_arrow">
                <img src="__IMG__/leftarrow.png"/>
            </div>
        </div>
        <div class="right_con">
            <div class="right_line1"></div>
            <div class="right_line2"></div>
            <img class="rightbtn_ewm" src="__IMG__/wx.png">
            <span>扫一扫添加我的微信</span>
            <div class="right_qq">
                <a href="https://jq.qq.com/?_wv=1027&k=5XbrZuQ" target="_blank"><img src="__IMG__/rqq.png"/></a>&nbsp;我的QQ
            </div>
            <div class="r_qq_hao">2404387225</div>
            <div class="right_phone">
                <img src="__IMG__/rphone.png"/>&nbsp;客服热线&nbsp;
            </div>
            <div class="r_qq_hao">2404387225</div>
        </div>
    </div>
    <!-- Nav -->
    {include file='common/header' /}

    <!-- banner -->
    <div class="bgbanner">
        <img src="{$bannerImgUrl}" width="100%">
    </div>
    <!-- gift -->
    <div class="gift">
        <div class="gift_list">
            <img src="__IMG__/ewmbg.png"/>
            <img class="absoulte_ewm" src="__IMG__/2.png"/>

            <div class="g_store"><a href="https://pvp.qq.com/zlkdatasys/mct/d/play.shtml?device=android"><img src="__IMG__/Android.jpg" width="226" height="76">
			<a href="https://pvp.qq.com/zlkdatasys/mct/d/play.shtml?device=ios"><img class="an_pic" src="__IMG__/AppStore.jpg"/></a>
            </div>
            <img class="gf_gif" src="__IMG__/gfgift.jpg"/>

        </div>
        <div class="gift_main">
            <div class="g_main_left">
                <div class="lunbo">
                    <div class="lun_show">

                        {volist name="newImgList" id="vo"}
                        <img style="width: 637px;height: 330px" src="{$vo}"/>

                        {/volist}



                    </div>
                    <div class="lun_nav">
                        <ul>
                            <li class="liactive"></li>
                            <li class="liactive"></li>
                            <li class="liactive"></li>
                            <li class="liactive"></li>
                        </ul>
                    </div>
                </div>
            </div>
            <div class="g_main_right">
                <div class="tab">
                    <div class="tab_line"></div>
                    <div class="tab_line2"></div>
                    <div class="tab_more">
                        <a href="/index/news/index"><img src="__IMG__/tabmore.png" alt="more"></a>
                    </div>
                    <div class="tab_red">
                        <img src="__IMG__/red.png"/>
                    </div>
                    <ul class="nav_ul">
                        <li class="lidom" style="color: #A53248">
                            最新
                            <img class="lidom_icon" src="__IMG__/arrowup.png" style="display:block" />
                        </li>
                        <li class="lidom">
                            爆料
                            <img class="lidom_icon" src="__IMG__/arrowup.png"/>
                        </li>
                        <li class="lidom">
                            公告
                            <img class="lidom_icon" src="__IMG__/arrowup.png"/>
                        </li>
                        <li class="lidom">
                            活动
                            <img class="lidom_icon" src="__IMG__/arrowup.png"/>
                        </li>
                        <li class="lidom">
                            攻略
                            <img class="lidom_icon" src="__IMG__/arrowup.png"/>
                        </li>
                    </ul>
                    <!-- 须复制多个 -->
                    <div class="t_con t_con_active">
                        <ul>
                            {volist name="zx" id="vo"}
                            <li>
                                <a>【最新】</a>&nbsp;<a href="/index/zx/index?id={$vo.id} ">{$vo.title}</a>
                                <span>{$vo.create_time}</span>
                            </li>
                            {/volist}



                        </ul>
                    </div>

                    <div class="t_con">
                        <ul>
                            {volist name="bl" id="vo"}
                            <li>
                                <a>【爆料】</a>&nbsp;<a href="/index/zx/index?id={$vo.id} ">{$vo.title}</a>
                                <span>{$vo.create_time}</span>
                            </li>
                            {/volist}

                        </ul>
                    </div>

                    <div class="t_con">
                        <ul>
                            {volist name="gg" id="vo"}
                            <li>
                                <a>【公告】</a>&nbsp;<a href="/index/zx/index?id={$vo.id} ">{$vo.title}</a>
                                <span>{$vo.create_time}</span>
                            </li>
                            {/volist}


                        </ul>
                    </div>

                    <div class="t_con">
                        <ul>
                            {volist name="hd" id="vo"}
                            <li>
                                <a>【活动】</a>&nbsp;<a href="/index/zx/index?id={$vo.id} ">{$vo.title}</a>
                                <span>{$vo.create_time}</span>
                            </li>
                            {/volist}


                        </ul>
                    </div>

                    <div class="t_con">
                        <ul>
                            {volist name="gl" id="vo"}
                            <li>
                                <a>【攻略】</a>&nbsp;<a href="/index/zx/index?id={$vo.id} ">{$vo.title}</a>
                                <span>{$vo.create_time}</span>
                            </li>
                            {/volist}

                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- gamestart -->
    <div class="game">
        <div class="game_con">
            <img src="__IMG__/gamebg.jpg"/>
        </div>
    </div>
    <!-- gameafter -->
    <div class="game_after">
        <!-- <img class="gameafterbg" src="__IMG__/gameafter.jpg"/> -->
        <div class="game_after_main">
            <div class="lunbo2">
                <div class="lun_show2">
                    {volist name="heroImgList" id="vo"}
                    <img style="width: 1200px;height: 548px" src="{$vo}"/>

                    {/volist}

                </div>
                <div class="lun_nav2">
                    <ul>
                        <li class="liactive2"></li>
                        <li class="liactive2"></li>
                        <li class="liactive2"></li>
                        <li class="liactive2"></li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <!-- footer -->
    {include file='common/footer' /}
</div>

</div>

{/block}
{block name="script"}
<script>
    $(function() {


        function r_box() {
            var turn = 1;
            $(".right_btn").click(function() {
                if(turn == 1) {
                    $(".right_box").css("right","0px");
                    $(".right_font").text("收回");
                    $(".left_arrow").css("transform","rotate(0deg)");
                    turn = 0;
                }else {
                    $(".right_box").css("right","-118px");
                    $(".right_font").text("展开");
                    $(".left_arrow").css("transform","rotate(180deg)");
                    turn = 1;
                }

            });
        }
        r_box();

        // 轮播1
        function lun(name,name2,name3) {
            this.i = -1;
            this.inter;
            this.name = name;
            this.name2 = name2;
            this.name3 = name3;
        }
        lun.prototype = {
            // 公共函数
            keyi: function () {
                this.i++
                if (this.i == 4) {
                    this.i = 0
                }
                $(this.name).removeClass("active");
                $(this.name).eq(this.i).addClass("active");
                $(this.name2).css("marginLeft",(-this.i) * 100 + "%");
            },
            liClick:function() {
                var that = this;
                $(this.name).click(function() {
                    that.i = $(this).index()-1;
                    that.keyi();
                });
            },
            Interval:function() {
                this.inter = setInterval(this.keyi.bind(this),2500);
            },
            Hover:function() {
                var that = this;
                $(this.name3).hover(function() {
                    clearInterval(that.inter);
                },function() {
                    that.Interval();
                });
            },
            start:function() {
                this.keyi();
                this.Interval();
                this.liClick();
                this.Hover();
            }
        }
        var Lunbo = new lun(".lun_nav ul li",".lun_show",".lunbo");
        Lunbo.start();
        var Lunbo2 = new lun(".lun_nav2 ul li",".lun_show2",".lunbo2");
        Lunbo2.start();

        // tab
        function tabs() {
            $(".nav_ul li").click(function() {
                // $(this).index()
                $(".t_con").hide();
                $(".t_con").eq($(this).index()).fadeIn(200);
                $(".nav_ul li img").hide();
                $(".nav_ul li img").eq($(this).index()).show();
                $(".nav_ul li").css("color","");
                $(".nav_ul li").eq($(this).index()).css("color",'#A53248');
            });
        }
        tabs();

        // cover
        function Coverhide(name1,name2,n) {
            $(name1).click(function() {
                $(this).parent().parent().fadeOut(200);
                console.log($(this).parent().parent());
            });
            $(name2).click(function() {
                $(".cover"+n).fadeIn(200);
            });
        }
        Coverhide(".c_del1",".gf_gif",1);
        Coverhide(".c_del2",".g_yuyue",2);
        Coverhide(".c_del3","",3);
        // ios && 安卓
        function phonetb() {

            $(".phonetab li").click(function() {
                $(".phonetab li").removeClass("con_tab_active");
                $(this).addClass("con_tab_active");
            });
            $(".c_con_input3").click(function() {
                var now = 60;
                console.log($(".c_con_input3").val());
                var Stt = setInterval(function () {
                    $(".c_con_input3").attr("disabled",true);
                    $(".c_con_input3").css({"background":"gray","color":"#A9A9A9"});
                    $(".c_con_input3").val(now+'s后重新发送');
                    now--
                    if(now < 0) {
                        clearInterval(Stt)
                        $(".c_con_input3").val('获取验证码');
                        $(".c_con_input3").css({"background":"#DDDDDD","color":"black"});
                        $(".c_con_input3").attr("disabled",false);
                    }
                },1000)
            });
        }
        phonetb();

    })
</script>
{/block}